CC = gcc
CFLAGS += -c -Wall -g

all: runStaticLinkedList

runStaticLinkedList: run.o staticLinkedList.o
	$(CC) $^ -o $@

run.o: run.c
	$(CC) $^ $(CFLAGS) -o $@

staticLinkedList.o: staticLinkedList.c
	$(CC) $^ $(CFLAGS) -o $@

clean:
	$(RM) -r *.o runStaticLinkedList